class worker():

    def __init__(self, name, sal):
        self.name = name
        self.sal = sal


class programmer(worker):
    def __init__(self, name, sal):
        worker.__init__(self, name, sal)
        self.sal = self.sal * 200


class saleer(worker):
    def __init__(self, name, sal,sal2):
        worker.__init__(self, name, sal)
        self.sal = self.sal + sal2 * 0.05


if __name__ == '__main__':
    worker1 = worker('huang', 5555)
    worker2 = programmer('huang1', 24)
    worker3 = saleer('huang2', 5000,100000)
    print(worker1.sal)
    print(worker2.sal)
    print(worker3.sal)
